
import { h } from '../../lib/guide-mini-vue.esm.js';
import { Foo } from './Foo.js';

export const App = {
    name:"App",
    render(){
        //emit
        return h("div",{},[h("div",{},"App"),h(Foo,{
            // element
            onAdd(a,b){
                console.log("onAdd",a,b);
            },
            onAddFoo(a,b){
                console.log("onAddFoo",a,b);
            }
        })]);
    },

    setup(){
        return {};
    },
}